package com.niiwoo.civet.trade.service.creditor;

import com.niiwoo.civet.trade.dto.common.LinkAgeConfigDTO;
import com.niiwoo.civet.trade.dto.request.creditor.CreditorAgreementUrlRequestDTO;
import com.niiwoo.civet.trade.dto.request.creditor.CreditorSalePageRequestDTO;
import com.niiwoo.civet.trade.dto.response.creditor.CreditorAgreementUrlResponseDTO;
import com.niiwoo.civet.trade.dto.response.creditor.CreditorSaleDetailResponseDTO;
import com.niiwoo.civet.trade.dto.response.creditor.CreditorSalePageResponseDTO;
import com.niiwoo.civet.trade.dto.response.creditor.TradableInvestOrderStatDTO;

import java.math.BigDecimal;
import java.util.List;

public interface CreditorRightsDubboService {

    default List<LinkAgeConfigDTO> queryCreditorSaleSelector(Byte type){
        return null;
    }

    default List<CreditorSalePageResponseDTO> getCreditorSalePage(CreditorSalePageRequestDTO requestDTO){
        return null;
    }

    default CreditorSaleDetailResponseDTO getCreditorSaleDetail(Long creditorSaleDetailId, String saleUserId){
        return null;
    }
    /**
     * 转让期间使用，包含了转让期间产生的利息
     * @param creditorSaleDetailId
     * @param saleUserId
     * @return
     */
    default BigDecimal getRealTimeCreditorSaleDetailSaleAmount(Long creditorSaleDetailId, String saleUserId){
      throw new UnsupportedOperationException("未实现的方法");
    }

    default TradableInvestOrderStatDTO getCreditorSaleOrderRateArea(){return null;}

    default Integer queryCreditorIsInvest(){return null;}

    default List<CreditorAgreementUrlResponseDTO> queryCreditorAgreementUrl(CreditorAgreementUrlRequestDTO dto){return null;}
}
